package com.rf.richfitwheel.workflow.model;

import java.util.Date;
import java.util.List;

public class WfStationProcessOrder {
    private String id;

    private String stationProcessId;

    private String orgCode;

    private String orgName;

    private String deptCode;

    private String deptName;

    private String stationId;

    private String stationName;

    private String taskName;

    private Integer approveOrder;

    private String creater;

    private Date createTime;

    private String modUser;

    private Date modTime;

    private String pageCode;

    private String moduleType;

    private String authType;

    private String sourceFrom;
    
    private String lastStation;
    
    private String needKey;
    
    private int authRuleCount;
    private List<WfAuthRule> authRules;
    private boolean authRuleLoaded;
    public WfStationProcessOrder(String id, String stationProcessId, String orgCode, String orgName, String deptCode, String deptName, String stationId, String stationName, String taskName, Integer approveOrder, String creater, Date createTime, String modUser, Date modTime, String pageCode, String moduleType, String authType, String sourceFrom, String lastStation, String needKey) {
        this.id = id;
        this.stationProcessId = stationProcessId;
        this.orgCode = orgCode;
        this.orgName = orgName;
        this.deptCode = deptCode;
        this.deptName = deptName;
        this.stationId = stationId;
        this.stationName = stationName;
        this.taskName = taskName;
        this.approveOrder = approveOrder;
        this.creater = creater;
        this.createTime = createTime;
        this.modUser = modUser;
        this.modTime = modTime;
        this.pageCode = pageCode;
        this.moduleType = moduleType;
        this.authType = authType;
        this.sourceFrom = sourceFrom;
        this.lastStation = lastStation;
        this.needKey = needKey;
    }

    public WfStationProcessOrder() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getStationProcessId() {
        return stationProcessId;
    }

    public void setStationProcessId(String stationProcessId) {
        this.stationProcessId = stationProcessId == null ? null : stationProcessId.trim();
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode == null ? null : orgCode.trim();
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName == null ? null : orgName.trim();
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode == null ? null : deptCode.trim();
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName == null ? null : deptName.trim();
    }

    public String getStationId() {
        return stationId;
    }

    public void setStationId(String stationId) {
        this.stationId = stationId == null ? null : stationId.trim();
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName == null ? null : stationName.trim();
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName == null ? null : taskName.trim();
    }

    public Integer getApproveOrder() {
        return approveOrder;
    }

    public void setApproveOrder(Integer approveOrder) {
        this.approveOrder = approveOrder;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater == null ? null : creater.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModUser() {
        return modUser;
    }

    public void setModUser(String modUser) {
        this.modUser = modUser == null ? null : modUser.trim();
    }

    public Date getModTime() {
        return modTime;
    }

    public void setModTime(Date modTime) {
        this.modTime = modTime;
    }

    public String getPageCode() {
        return pageCode;
    }

    public void setPageCode(String pageCode) {
        this.pageCode = pageCode == null ? null : pageCode.trim();
    }

    public String getModuleType() {
        return moduleType;
    }

    public void setModuleType(String moduleType) {
        this.moduleType = moduleType == null ? null : moduleType.trim();
    }

    public String getAuthType() {
        return authType;
    }

    public void setAuthType(String authType) {
        this.authType = authType == null ? null : authType.trim();
    }

    public String getSourceFrom() {
        return sourceFrom;
    }

    public void setSourceFrom(String sourceFrom) {
        this.sourceFrom = sourceFrom == null ? null : sourceFrom.trim();
    }
    
    public String getLastStation(){
        return lastStation;
    }
    
    public void setLastStation(String lastStation){
        this.lastStation = lastStation;
    }
    
    public String getNeedKey(){
        return needKey;
    }
    
    public void setNeedKey(String needKey){
        this.needKey = needKey;
    }
    
    public int getAuthRuleCount(){
        return authRuleCount;
    }
    
    public void setAuthRuleCount(int authRuleCount){
        this.authRuleCount = authRuleCount;
    }
    
    public List<WfAuthRule> getAuthRules(){
        return authRules;
    }
    
    public void setAuthRules(List<WfAuthRule> authRules){
        this.authRules = authRules;
    }
    
    public boolean isAuthRuleLoaded(){
        return authRuleLoaded;
    }
    
    public void setAuthRuleLoaded(boolean authRuleLoaded){
        this.authRuleLoaded = authRuleLoaded;
    }
}